package com.alone.embedded.lucene.repository.query.wrapper;

import com.alone.embedded.lucene.repository.ElRepository;

/**
 * @author Alone
 * @date 2022/10/31 4:00 下午
 */
interface ChainWrapper<T> {

    /**
     * 获取仓库类
     *
     * @return ElRepository
     */
    ElRepository<T> getRepository();

    /**
     * 获取匹配条件
     *
     * @return QueryWrapper
     */
    QueryWrapper<T> getQueryWrapper();
}
